<?xml version="1.0" encoding="utf-8"?>
<openerp>
	<data>
		<record id="view_param_daily_time_sheet_report" model="ir.ui.view">
			<field name="name">view.param.daily.time.sheet.report</field>
			<field name="model">param.daily.time.sheet.report</field>
			<field name="type">form</field>
			<field name="arch" type="xml">
				<form string="Daily Time Sheet Report"> 
					<field name="project_task_ids" domain="[('project_id.state','=','open'),('user_ids','=',uid),('kanban_state','=','normal')]">
						<tree editable="bottom">
							<field name="name" readonly="1"/>
						</tree>
					</field>	
					<footer>
	                    <button name="daily_timesheet_print2" string="Print as PDF" type="object" default_focus="1" class="oe_highlight"/>
	                    or 
	                    <button string="Cancel" class="oe_link" special="cancel"/>
	                </footer>
				</form>
			</field>
		</record>

		<record id="action_param_daily_time_sheet_report" model="ir.actions.act_window">
			<field name="name">Daily Time Sheet Report</field>
			<field name="type">ir.actions.act_window</field>
			<field name="res_model">param.daily.time.sheet.report</field>
			<field name="view_type">form</field>
			<field name="view_mode">form</field>
			<field name="target">new</field>
			<field name="help">This menu print Daily Time Sheet Report.</field>
		</record>

		<menuitem name="Daily Time Sheet" parent="menu_project_report"
			action="action_param_daily_time_sheet_report" id="menu_daily_time_sheet_report" sequence="1"/>

	</data>
</openerp>
